package com.bbdjt.weixin.model;


import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import org.apache.ibatis.type.Alias;
import java.io.Serializable;


import java.util.Date;

@Alias("doctor")
@Table(name = "doctor")
public class Doctor implements Serializable  {
//使用@Transient注解可以忽略字段,添加该注解的字段不会作为表字段使用
	@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
	//医生ID							
	@Column(name = "id")
	private Integer id;
	//手机号							
	@Column(name = "mobile")
	private String mobile;
	//性别							
	@Column(name = "sex")
	private Integer sex;
	//医生姓名							
	@Column(name = "name")
	private String name;
	//年龄							
	@Column(name = "age")
	private Integer age;
	//省ID							
	@Column(name = "province_id")
	private Integer provinceId;
	//省名称							
	@Column(name = "province")
	private String province;
	//市ID							
	@Column(name = "city_id")
	private Integer cityId;
	//城市名称							
	@Column(name = "city")
	private String city;
	//医院ID							
	@Column(name = "hospital_id")
	private Integer hospitalId;
	//医院名称							
	@Column(name = "hospital")
	private String hospital;
	//所属科室							
	@Column(name = "department")
	private String department;
	//所属科室id							
	@Column(name = "department_id")
	private Integer departmentId;
	//职称							
	@Column(name = "job_name")
	private String jobName;
	//医生码							
	@Column(name = "doctor_code")
	private String doctorCode;
	//创建时间							
	@Column(name = "create_date")
	private Date createDate;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}
	public Integer getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(Integer provinceId) {
		this.provinceId = provinceId;
	}
	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}
	public Integer getCityId() {
		return cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}
	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}
	public Integer getHospitalId() {
		return hospitalId;
	}

	public void setHospitalId(Integer hospitalId) {
		this.hospitalId = hospitalId;
	}
	public String getHospital() {
		return hospital;
	}

	public void setHospital(String hospital) {
		this.hospital = hospital;
	}
	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}
	public Integer getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(Integer departmentId) {
		this.departmentId = departmentId;
	}
	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}
	public String getDoctorCode() {
		return doctorCode;
	}

	public void setDoctorCode(String doctorCode) {
		this.doctorCode = doctorCode;
	}
	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

}